package com.patient.domin.request;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * 关注入参 DoctorRequest
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_follow")
public class DoctorRequest {
    /**
     * 关注
     */
    private Long id;

    /**
     * 医生ID
     */
    private Long doctorId;

    /**
     * 关注状态
     */
    private Integer followStatus;

    /**
     * 患者ID
     */
    private Long userId;

    /**
     * 关注时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creatTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;



}
